Replication Files for: 

“Non-cooperation by popular vote: Expectations, foreign intervention, and the vote in the 2015 Greek bailout referendum”, International Organization, Walter, Dinas, Jurado, Konstantinidis.

For more information about the replication files, please contact: elias.dinas[at]politics.ox.ac.uk


Included file:
## Data files1. DataSet_Referendum_Sat5July15.dta ** raw survey data, the main dataset for the analysis
2. pollsR.dta ** the dataset including the predictions from the opinion polls shown in Table A4. This dataset is needed to run the code for Figure 7.
3. PollsInfo.xlsx ** file with more information about the opinion polls, replicates Table A4
4. SchaubleExperiment.dta ** raw survey data: the survey run before the referendum, which included the Schauble/Varoufakis/Draghi experiment. The dataset is needed to run code for Figure A7.
5. Figure1.xlsx ** the excel file with the information for Figure 1.
6. Figure2.xlsx ** the excel file with the information for Figure 2.

## Analysis1. ReplicationIO_WDJK.do2. ReplicationIO_WDJK.R3. Matching.R

To replicate the analyses in the paper:

1 - Run ReplicationIO_WDJK.do
    - This will compute common recodes for both the matched and
	  unmatched data sets. Will save various files as data frames to be used in R for 	  the preparation of the graphs
    - These files will be sourced by the analysis files.
    - The do.file provides full instructions about how to finalise the analysis to get all 	graphs and tables. It follows the sequence shown in the paper, starting with the 	analysis of the main text and then moving to the Appendix.

2. Run ReplicationIO_WDJK.R
    - This will recreate all figures, not related to matching, in the
	  paper and the online appendix.

3. Run Matching.R
   - This will replicate all analyses and will recreate all figures from the matching         
     analyses in the paper, both main text and appendix.


